package org.example.qqrobot.service;

import org.example.qqrobot.model.dto.ProductQueryDTO;
import org.example.qqrobot.model.vo.ProductIntoPageVO;
import org.example.qqrobot.model.vo.ProductMainVO;

import java.util.List;

public interface ProductService {

    List getList(ProductQueryDTO productQueryDTO);

    ProductIntoPageVO intoPage(Long id);

    void save(String title,Integer price,String introduction,String image);

    void collect(Long id);

    List<ProductMainVO> getTheCollection();

    List<ProductMainVO> getMyProduct();

    void sendMessage(String message, Long id);

    List<ProductMainVO> query(String queryName);
}
